const projectA = {
  projectId: 'abc123',
  projectName: 'abc',
  version: 'v0.1',
  versionId: 'abc0.1',
  testTime: '1502304932',
  tester: 'sdeff',
  manager: 'ahehe',
  features: '索科洛夫叫啊叫登录福建省了',
  modify: '气污染每次女教师地方',
  notes: '上看见佛无二无 i 俄军人可减肥',
  record: ['new', 'second', 'success', 'finish'],
};

module.exports = async function getProjDetail(ctx) {
  const projectId = ctx.params.projectId;
  const result = {
    status: undefined,
    data: {},
  };
  if (projectId === projectA.projectId) {
    result.status = 200;
    result.data = projectA;
  } else {
    result.status = 404;
  }
  ctx.body = result;
};
